package com.hxkj.client.service;

import com.hxkj.domain.po.FreeMarker;
import com.platform.common.domain.result.ResultDataStruct;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @InterfaceName AnalyzeTagsServiceClient
 * @Description TODO
 * @Author Mr.zheng
 * @Date 2018/7/20 17:01
 * @Version 1.0
 */
@FeignClient(name = "cms-publish-management")
public interface AnalyzeTagsServiceClient {

  /**
  * @author Mr.zheng
  * @Description analyzeTags 解析标签聚合模板页面
  * @Date 17:03 2018/7/20
  * @Param [freeMarker]
  * @return com.platform.common.domain.result.ResultDataStruct
  **/
    @RequestMapping(value = "/analyzeTags/tags", method = RequestMethod.POST,consumes = "application/json;charset=UTF-8")
    ResultDataStruct analyzeTags(@RequestBody FreeMarker freeMarker) throws Exception;

    /**
    * @author Mr.zheng
    * @Description analyzeTagArticle 解析标签详情文章列表页面
    * @Date 17:07 2018/7/20
    * @Param [freeMarker]
    * @return com.platform.common.domain.result.ResultDataStruct
    **/
    @RequestMapping(value = "/analyzeTags/tagArticle", method = RequestMethod.POST,consumes = "application/json;charset=UTF-8")
    ResultDataStruct analyzeTagArticle(@RequestBody FreeMarker freeMarker) throws Exception;

}
